<ion-view view-title="修改密码">
  <ion-nav-buttons side="left">
    <button style="color: #fff;" class="button button-positive button-clear no-animation"
            ng-click="goBack()"> &nbsp; <i class="ion-chevron-left"></i>
    </button>
  </ion-nav-buttons>

  <ion-content>
    <div class="list">
    <label class="item item-input item-stacked-label">
      <input type="text" placeholder="手机/邮箱" ng-model="user.name">
    </label>


        <div class="item item-input-inset">
          <label class="item-input-wrapper">
            <input type="text" placeholder="验证码" ng-model="user.id">
          </label>
          <button class="button button-small">
            发送
          </button>

      </div>


      <label class="item item-input item-stacked-label">
        <input type="password" placeholder="新密码" ng-model="user.npw">
      </label>

      <label class="item item-input item-stacked-label">
        <input type="password" placeholder="重复密码" ng-model="user.rnpw">
      </label>

      <div class="padding">
      <button class="button button-block button-energized" ng-click="submit()" ng-disabled="!user.name||!user.id||!user.npw||user.npw!=user.rnpw" >提交</button>
    </div>

    </div>

  </ion-content>
</ion-view>

